You are here: To-Do's > Notification Service > Configuration File

Configuration File

The JiwaNotificationService.exe.config file needs to be edited for the IP address, database name, SQL username and password. Where multiple databases are using the notification service, repeat the code from and including <JiwaDatabase> to <JiwaDatabase> with the relevant details. The value for the <IP> field should be the IP Address of the machine running the Jiwa Notification Service. This value should always match the NotificationIP system setting. Use the value 127.0.0.1 if running on a single machine, disconnected from the network (i.e.: demo systems), otherwise determine the IP address of the machine designated to run the Jiwa Notification Service and use that value.

Only one machine on the network may run the Jiwa Notification Service for a given database. You can have the one machine act as a notification server for multiple different databases, and you can have multiple machines acting as notifications servers for different databases, but you cannot have multiple machines acting as the notification server for one database.

Once the file has been configured, then the services needed to be started

Steps

1. Edit the file JiwaNotificationService.exe.config in the Jiwa Financials \Jiwa Notification Service with Notepad
 

Edit the details as required

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<configSections>

<section name="SystemSettings" type="JiwaFinancials.Notification.Settings.ConfigurationHandler,JiwaNotificationService"/>

</configSections>

<SystemSettings>

<Network>

<IP>127.0.0.1</IP>

<Port>5492</Port>

</Network>

<JiwaDatabases>

<JiwaDatabase>

<Name>JiwaDemo</Name>

<Server>MySQLServer</Server>

<SQLUsername>JiwaUser</SQLUsername>

<SQLPassword>jiwafinancials123</SQLPassword>

</JiwaDatabase>

</JiwaDatabases>

<Notification>

<PollInterval>5000</PollInterval>

<MaximumQueuedMessages>1000</MaximumQueuedMessages>

<MessageTimeout>60000</MessageTimeout>

<ResponseTimeout>5000</ResponseTimeout>

</Notification>

</SystemSettings>

</configuration>

 

Copyright © 2012 Jiwa Financials. All rights reserved.